package IC.lir.instructions;

public class DummyRegister extends Register {
	
	private static DummyRegister inst = null;
	
	public static boolean HasInstance()
	{
		return (inst!=null);
	}
	
	public static DummyRegister Inst() throws Exception
	{
		if (inst==null)
			inst = new DummyRegister();
		return inst;
	}
	
	//C'tor
	private DummyRegister() {
		super(-1);
	}
	
	@Override
	public String toString() {
		return "Rdummy";
	}
}